/**
 * @author David Milne
 */

function DocumentPage() {
	this.docTitle ;
	this.docHash ;
}

DocumentPage.prototype.init = documentPage_init ;
DocumentPage.prototype.setContent = documentPage_setContent ;

function documentPage_init(docTitle, docHash) {
	try {
		this.className = "documentPage" ;
		this.docTitle = docTitle ;
		this.docHash = docHash ;
		this.innerHTML = "loading..." ;	
	} catch ( e ) { 
		logError("documentPage.init.error: " + e ); 
		throw (e) ;
	}
}

function documentPage_setContent(content) {
	try {
		this.innerHTML = content ;	
	} catch ( e ) { 
		logError("documentPage.setContent.error: " + e ); 
		throw (e) ;
	}
}





